package com.syj.jsxjj.ui.my.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by VULCAN on 2017/7/14.
 */

public class MyBankBean implements Parcelable {
    private String name;
    private String bank_card_name;
    private String bank_card_number;
    private String bank_card_phone;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBank_card_name() {
        return bank_card_name;
    }

    public void setBank_card_name(String bank_card_name) {
        this.bank_card_name = bank_card_name;
    }

    public String getBank_card_number() {
        return bank_card_number;
    }

    public void setBank_card_number(String bank_card_number) {
        this.bank_card_number = bank_card_number;
    }

    public String getBank_card_phone() {
        return bank_card_phone;
    }

    public void setBank_card_phone(String bank_card_phone) {
        this.bank_card_phone = bank_card_phone;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.name);
        dest.writeString(this.bank_card_name);
        dest.writeString(this.bank_card_number);
        dest.writeString(this.bank_card_phone);
    }

    public MyBankBean() {
    }

    protected MyBankBean(Parcel in) {
        this.name = in.readString();
        this.bank_card_name = in.readString();
        this.bank_card_number = in.readString();
        this.bank_card_phone = in.readString();
    }

    public static final Parcelable.Creator<MyBankBean> CREATOR = new Parcelable.Creator<MyBankBean>() {
        @Override
        public MyBankBean createFromParcel(Parcel source) {
            return new MyBankBean(source);
        }

        @Override
        public MyBankBean[] newArray(int size) {
            return new MyBankBean[size];
        }
    };
}
